package com.dao;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface ReceiveAddressDao {
    @Select("SELECT * FROM `ums_member_receive_address` WHERE `id` = #{id} ")
    Map<String, Object> getOne(Integer id);

    @Select("SELECT * FROM `ums_member_receive_address`")
    List<Map<String, Object>> getList();

}
